package com.concurrency.example.immutable;

import com.google.common.collect.Maps;

import java.util.Map;

public class ImmutableExample1 {
    private final static String a = "a";
    private final static Integer b = 2;
    private final static Map<String, String> map = Maps.newHashMap();

    static {
        map.put("name","令狐冲");
        map.put("age","33");
    }

    public static void main(String[] args) {
//        a = "aa";                //no
//        b = 3;                   //no
        map.put("name", "任盈盈");//yes

    }
}
